<script type="text/javascript">
	$(document).ready(function()
	{
		function form_valid()
		{
			return false;
		}
	});
</script>
<?php include_once('helper/FormHelper.php'); ?>
<form action="<?php echo url_for('login/show') ?>" onSubmit="return form_valid()" method="post" >
<div>
<table>
	<tr>
		<td colspan="2" align="center">
			<p>Login</p>
			<div style="color:#FF0000; "><?php echo $Error; ?></div>
		</td>
	</tr>
	<tr>
		<td>Username: </td>
		<td>
			<?php echo input_tag('txtUsername','') ?>
		</td>
	</tr>
	<tr>
		<td>Password: </td>
		<td><?php echo input_password_tag('txtPassword','') ?></td>
	</tr>
	<tr>
		<td></td>
		<td>
			<div style="vertical-align:middle "><?php echo checkbox_tag('remember', 1, false) ?>
			remember me.</div>
		</td>
	</tr>
	<tr>
		<td>Sign In for</td>
		<td>
		<p><?php echo radiobutton_tag( 'logtype', 'student', true ) ?> Student</p>
		<p><?php echo radiobutton_tag( 'logtype', 'teacher', false ) ?> Teacher</p>
		</td>
	</tr>
	<tr>
		<td colspan="3"><?php echo submit_tag('Login'); ?></td>
	</tr>
</table>
</div>
</form>